﻿<%@ Page Language="C#" MasterPageFile="~/Principal.master" AutoEventWireup="true" CodeFile="ListarEventos.aspx.cs" Inherits="ListarEventos" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="contentPrincipal" Runat="Server">
<table width="750" bgcolor="#48475b" cellspacing="3" cellpadding="0" style="height:550px">
    <tr>
        <td>
            <table width="750" bgcolor="#ecebf1" cellspacing="0" cellpadding="0" style="height:550px">
                <tr style="height:50px">
                    <td valign="top"  align="left"><span class="tituloPantalla"><br />Lista de eventos cargados </span> </td>
                </tr>
                <tr style="height:365px">
                    <td align="center" valign="top">
                        <table width="750" style="height: 215px">
                            <tr>
                                <td style="height: 301px">
                                    <asp:GridView ID="gviewEventos" runat="server" AutoGenerateColumns="False" BackColor="White"
                                        BorderColor="#E7E7FF" BorderStyle="None" BorderWidth="1px" CellPadding="3" GridLines="Horizontal" AllowPaging="True" OnRowEditing="gviewEventos_RowEditing">
                                        <RowStyle BackColor="#E7E7FF" ForeColor="#767298" Font-Size="Small" />
                                        <Columns>
                                            <asp:BoundField DataField="Id" HeaderText="Id" />
                                            <asp:BoundField DataField="Titulo" HeaderText="Titulo" />
                                            <asp:BoundField DataField="Descripcion" HeaderText="Descripcion" />
                                            <asp:BoundField DataField="FechaDesde" DataFormatString="{0:dd/MM/yyyy}" HeaderText="Fecha Desde" />
                                            <asp:BoundField DataField="FechaHasta" DataFormatString="{0:dd/MM/yyyy}" HeaderText="Fecha hasta" />
                                            <asp:CommandField ShowEditButton="True" />
                                        </Columns>
                                        <FooterStyle BackColor="#B5C7DE" ForeColor="#4A3C8C" />
                                        <PagerStyle BackColor="#E7E7FF" ForeColor="#4A3C8C" HorizontalAlign="Right" />
                                        <SelectedRowStyle BackColor="#738A9C" Font-Bold="True" ForeColor="#F7F7F7" />
                                        <HeaderStyle BackColor="#48475B" Font-Bold="True" ForeColor="#F7F7F7" Font-Size="Small" />
                                        <AlternatingRowStyle BackColor="#F7F7F7" />
                                    </asp:GridView>
                                    <asp:Button ID="btnAgregar" runat="server" OnClick="btnAgregar_Click" Text="Agregar Evento" /></td>
                            </tr>
                        </table>
                    </td>
                </tr>
            </table>
        </td>
    </tr>
</table>
</asp:Content>

